<html>

<head>
    <link rel="stylesheet" href="../../normalize.css">
    <link rel="stylesheet" href="../../index.css">
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>

<body>

</body>

<script type="text/javascript">
    function Person(firstName, lastName) {
        this.firstName = firstName
        this.lastName = lastName
    }
    //来验证 author prop 的值是否是通过 new Person 创建的。
    Vue.component('blog-post', {
        props: {
            author: Person
        }
    })
</script>

</html>